package de.koller.occultation.render;

import de.koller.occultation.ONode;
import de.koller.occultation.OccultationStart;
import de.koller.oceanFramework.tree.Child;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;

public class ORender extends ONode {
	
	@Child public final TileViewBuffer tileViewBuffer = new TileViewBuffer();
	
	public void renderThis( Graphics2D g ) {			
		AffineTransform a = g.getTransform();
		g.scale( OccultationStart.TILE_SIZE, OccultationStart.TILE_SIZE );
		
		tileViewBuffer.renderThis( g );
		
		g.setTransform( a );
	}

}
